package com.sinoyd.Code.Until

/**
 * 作者： scj
 * 创建时间： 2018/1/30
 * 版权： 江苏远大信息股份有限公司
 * 描述： com.sinoyd.Code.Until
 */

object Networkrequestaddress {
    //账号：admin   密码：11111
    var RELEASE: Boolean = true
    var SERVER_URL = ""
    val Formaladdress: String = "http://32.1.9.67/MHWebService/WebServiceForMH.asmx"//闵行服务器
    val Testaddress: String = "http://192.168.90.188/MHWebService/WebServiceForMH.asmx"//苏州服务器   admin 11111

    init {
        SERVER_URL = if (RELEASE) Formaladdress else Testaddress
    }

    /**登陆**/
    val URL_GetLoginInfo = "$SERVER_URL/GetLoginInfo"

    /**在线情况**/
    val URL_GetOnlineInfo = "$SERVER_URL/GetOnlineInfo"

    /**站点信息**/
    val URL_GetPointInfo = "$SERVER_URL/GetPointInfo"

    /**报警信息**/
    val URL_GetAlarmInfo = "$SERVER_URL/GetAlarmInfo"

    /**实时数据**/
    val URL_GetHourDataByDatetime = "$SERVER_URL/GetHourDataByDatetime"

    /**趋势分析**/
    val URL_GetAppPortWaterQualityTrend = "$SERVER_URL/GetAppPortWaterQualityTrend"

    /**最新小时的AQI情况**/
    val URL_GetLatestHourAQI = "$SERVER_URL/GetLatestHourAQI"

    /**【查询监测数据】获取小时值或日均值浓度**/
    val URL_GetMonitData = "$SERVER_URL/GetMonitData"

    /**地图GIS上的点位**/
    val URL_GetAllAQI = "$SERVER_URL/GetAllAQI"

    /**更新app**/
    val URL_GetVersion = "$SERVER_URL/GetVersion"
}